<div class="form">
    <?php echo validation_errors(); ?>
    
    <?php echo form_open($action); ?>
        <div id="tabs">
            <ul>
                <li><a href="#tabs-1">基本信息</a></li>
                <li><a href="#tabs-2" id="tabs-2-title"><?php echo $dynamic_title; ?></a></li>
                <li><a href="#tabs-3">费用统计</a></li>
                <li><a href="#tabs-4">时限提醒</a></li>
                <li><a href="#tabs-5">官方文件</a></li>
            </ul>
            <div id="tabs-1">
                <?php echo $base_html; ?>
            </div>
            <div id="tabs-2">
                <?php echo $dynamic_html; ?>
            </div>
            <div id="tabs-3">
                <?php echo $fee_html; ?>
            </div>
            <div id="tabs-4">
                <?php echo $reminder_html; ?>
            </div>
            <div id="tabs-5">
                <?php echo $document_html; ?>
            </div>
        </div>
        <div class="form-actions">
            <input type="submit" class="form-submit" value="保存" />
        </div>
    </form>
</div>
<script>
    var checks    = <?php echo $checks; ?>;
    var reminders = <?php echo $reminders; ?>;
    var documents = <?php echo $documents; ?>;
    var foreign   = <?php echo $foreign; ?>;
</script>
<!-- 外部js需要用到的数据 -->
<script src="<?php echo base_url('ui/json2.js'); ?>" charset="UTF-8"></script>
<script src="<?php echo base_url('ui/my_js/foreign_form.js'); ?>" charset="UTF-8"></script>
